Video codec method in error resilient mode and apparatus therefor

ABSTRACT

A video coding-decoding (CODEC) method in an error resilient mode, a computer readable medium having a computer program for the video CODEC method, and a video CODEC apparatus. The video CODEC method provides more resilience against channel error such that communications are less affected by error under conditions in which errors are a serious problem such as in a wireless communications channel. In the video CODEC method, a header data part (HDP) bit region, a motion vector data part (MVDP) bit region and a discrete cosine transform data part (DDP) bit regions are partitioned from each macro block of the video data in an error resilient mode, and then the partitioned bit regions are variable-length-coded. Then, the bit regions selected from the variable-length coded bit regions according to a predetermined priority for recovery are reversible-variable-length-coded, and markers are then inserted into the variable-length coded or reversible-variable-length-coded bit regions.

CROSS REFERENCE TO RELATED APPLICATION

This is a divisional of Application No. 09/201,865 filed Dec. 1, 1998, now U.S. Pat. No. 6,768,775 which claims benefit of Provisional Application No. 60/067,013 filed Dec. 1, 1997; the above noted prior applications are all hereby incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a video coding-decoding (CODEC) method and an apparatus therefor, and more particularly, to a video CODEC method in an error resilient mode and an apparatus therefor. Also, the present application is based on US Provisional Patent Application No. 60/067,013, entitled “Video CODEC Method in Error Resilient Mode”, by the present applicant.

2. Description of the Related Art

In general, in case that an error exists in a channel, video CODEC cannot cope with error of the channel when encoding all frames into bit streams. This is because the bit streams have no decision element for determination of whether streams have no decision element for determination of whether to restore or discard the error region. Thus, it is difficult to determine whether a certain portion of a frame has bit loss by an error, or whether the entire frame has an error, so that there is a problem that a start point of the bit stream should be searched in the next frame, ignoring the coded bit stream of the entire frame. In a conventional CODEC, an additional device is used as the decision element in order to solve such problem. As an example, according to the CODEC defined in the H.263 standard, a picture start code (PSC) is employed and if an error is detected after this field information, the region following the PSC is ignored and the next PSC is then searched. Further, a group of block start code (GBSC) indicating the start of the group of block (GOB) is employed and if an error is detected after this information, only the corresponding block of the GBSC is ignored and then the next GOB is searched, thereby reducing the amount of the ignored region.

FIG. 1 shows an example of a video data packet generated by a conventional CODEC in an error resilient mode. The video data packet of FIG. 1 is an example of the video data packet generated in the MPEG-4 CODEC. Referring to this packet, in the conventional error resilient CODEC, data is divided into motion data and texture data for coding. The motion data consists of a macro block identification bit (COD) indicating whether or not coding is performed, a macro block pattern chrominance (MCBPC) bit indicating the chrominance of each macro block and a motion vector, and the texture data consists of coded block pattern luminance (CBPY) data, data quantization (DQUANT) data and discrete cosine transform (DCT) data. Such motion data and texture data are divided by a motion marker (MM). Also, the DCT data is coded by reversible variable length coding (RVLC).

The decoding process of the bit stream coded in the above manner will be described. First, a resync marker RM is searched in the bit stream. If an RM is found, information up to the next RM is regarded as one packet. A motion vector data part (MVDP) consisting of motion vectors has only predicted motion vectors, so that it is possible to use an actual motion vector only when the previously decoded motion vector exists. Thus, if an error is detected from the MVDP of the bit stream, the corresponding entire packet is ignored, and an RM corresponding to the next packet is searched for decoding, thereby causing loss of a large amount of information.

SUMMARY OF THE INVENTION

To solve the above problems, it is a first object of the present invention to provide a video coding-decoding (CODEC) method in an error resilient mode.

It is a second object of the present invention to provide a computer readable media having embodied thereon a computer program for the video CODEC method in an error resilient mode.

It is a third object of the present invention to provide a video CODEC apparatus in an error resilient mode, achieving the video CODEC method.

Accordingly, to achieve the above first object, there is provided a video CODEC comprising the steps of: (a) partitioning a header data part (HDP) bit region, a motion vector data part (MVDP) bit region and a discrete cosine transform data part (DDP) bit region from each macro block of the video data in an error resilient mode; (b) variable-length-coding the partitioned bit regions; (c) reversible-variable-length-coding the bit regions selected from the variable-length coded bit regions according to a predetermined priority for recovery; and (d) inserting markers into the variable-length coded or reversible-variable-length-coded bit regions.

To achieve the second object, there is provided a computer readable medium having embodied thereon a computer program for executing the video CODEC method which comprises the steps of: (a) partitioning a header data part (HDP) bit region, a motion vector data part (MVDP) bit region and a discrete cosine transform data part (DDP) bit region from each macro block of the video data in an error resilient mode; (b) variable-length-coding the partitioned bit regions; (c) reversible-variable-length-coding the bit regions selected from the variable-length coded bit regions according to a predetermined priority for recovery; and (d) inserting markers into the variable-length coded or reversible-variable-length-coded bit regions.

To achieve the third object, there is provided a video CODEC apparatus comprising: a partitioning unit for partitioning a header data part (HDP) bit region, a motion vector data part (MVDP) bit region and a discrete cosine transform data part (DDP) bit region from each macro block of the video data in an error resilient mode; a variable length coding unit for variable-length-coding the partitioned bit regions; a reversible variable length coding unit for reversible-variable-length-coding the bit regions selected from the variable-length coded bit regions according to a predetermined priority for recovery; and a marker inserting unit for inserting markers into the variable-length coded or reversible-variable-length-coded bit regions.

BRIEF DESCRIPTION OF THE DRAWINGS

The above objects and advantages of the present invention will become more apparent by describing in detail preferred embodiments thereof with reference to the attached drawings in which:

FIG. 1 shows an example of a video data packet generated during conventional coding-decoding (CODEC) in an error resilient mode;

FIG. 2 is a flowchart illustrating the main steps of a video CODEC method in an error resilient mode according to a preferred embodiment of the present invention;

FIG. 3 is a block diagram of a video CODEC apparatus in an error resilient mode according to a preferred embodiment of the present invention;

FIG. 4 shows an example of a video data packet generated by the error resilient video CODEC method according to the present invention;

FIG. 5 is a flowchart illustrating the steps of a decoding method of a video CODEC; and

FIG. 6 is a flowchart illustrating in more detail the decoding step of the flowchart of FIG. 5.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Referring to FIG. 2, wherein the main steps of a video coding-decoding (CODEC) method in an error resilient mode according to a preferred embodiment of the present invention are illustrated, the video CODEC method includes a partitioning step 20, a variable length coding step 22, a reversible variable length coding step 24 performed for selected bit regions, and a marker inserting step 26.

In the step 20, a header data part (HDP) bit region is constituted by partitioning header data. In a similar manner, a motion vector data part (MVDP) bit region and a discrete cosine transform (DCT) data part (DDP) bit region are constituted by partitioning motion vector data and DCT data, respectively.

The header data includes information about coding status of the current macro block. That is, the header data represents whether the current macro block is an intra macro block in which the content of the current frame is coded as it is, or an inter macro block in which the difference from a previous macro block is coded. Thus, if an error occurs in the deader data, very critical information loss would be caused.

Thus, due to the significance of the header data, the header data must be recovered first. For this reason, among the HDP, a macro block identification bit (COD) indicating whether coding is performed or not and a macro block pattern chrominance (MCBPC) bit may be combined into one new syntax (COD+MCBPC) for partitioning. This combination for partitioning is preferred due to the following reasons. In the H.263 standard, 1 bit is used for the COD bit and a variable length code is used for the MCBPC bit of the header data. However, because the COD bit can have both 0 and 1, it is difficult to detect that the COD bit has an error. Also, in case that the MCBPC bit using a variable length code table has an error, it is very likely that the erroneous bit exists in a variable length code table, so that the detecting the error is difficult. Thus, in this embodiment, the COD bit and the MCBPC bit are combined for partitioning, and the combined bit region is reversible-variable-length-coded, thereby easily detecting the change in the bit. For example, in the case of data 0110, an error such as 0101 or 1001 can be detected, so that the possibility of using the erroneous information is reduced. Further, because the reversible variable length coding is performed, backward recovery is also possible. However, the HDP region may be constituted through partitioning without a combination of bits.

Also, the step 20 is performed in macro block units so that it is preferred to include the step of inserting a first macro block index (FMBI) bit region indicating the serial number of the first macro block into each packet, which can be referred to for decoding. Also, preferably, the step 20 includes the step of inserting a last absolute motion vector (LAMV) bit including absolute motion vector information, not a predicted motion vector, after the MVDP bit region. More preferably, the step 20 further includes the step of inserting a packet number (PN) bit region as additional information indicating a serial number of the packet.

In the variable length coding step 22, variable-length-coding is performed on the HDP bit region, the MVDP bit region and DDP bit region. Also, the PN and LAMV bit regions are variable-length-coded.

In the reversible variable length coding step 24, reversible variable length coding is performed on the variable-length-coded bit regions selected according to a predetermined priority for recovery. That is, if information loss may occur during the decoding, the reversible variable length coding is performed on the important information of the entire packet or macro block which may be lost. The reasons for the priority will be described in detail. First, as described above, the header data represents whether the current macro block is an inter macro block in which the content of the current frame is coded as it is, or an intra macro block in which the difference from a previous macro block is coded. Almost complete macro blocks are constituted of inter macro blocks so as to increase the efficiency of compression. If an error occurs in the HDP of the inter macro block, both the MVDP and the DDP cannot be used. Also, if an error occurs in the MVDP, it is not possible to use the DDP. Thus, each data part is important in the sequence of the HDP, the MVDP and the DDP. That is, the priority exists within the macro block according to such significance, and recovery in accordance with the priority is required. Here, using such selective reversible variable length coding according to the priority, not all data is considered due to a limited channel capacity while the reversible variable length coding increases the number of bits compared to the variable length coding. In the video CODEC method according to the present invention, which is not shown in FIG. 2, information of channel characteristics such as capacity, error status and degree of congestion is received through a backward channel, to identify the channel characteristics. In the channel characteristic identifying step, preferably, if a suitable channel status exists, a predetermined bit region having a low priority, e.g., DDP bit region, is reversible-variable-length-coded. Otherwise, the bit region is only variable-length-coded, thereby satisfying the channel characteristics as well as increasing error resilience. Alternatively, in the channel characteristic identifying step, if a suitable channel status exists, an additional information may be inserted into a bit region having a lower priority, such as DDT bit region, to be referred to for decoding. Hereinafter the use of the additional information will be described in detail. First, it is possible to additionally transfer the information of the HDP into the DDT. This is for the case where an error occurs in the HDP with priority, not in the MVDP and the DDP. By placing the HDP after the DDP, the current data packet can be recovered without being discarded. Second, it is possible to transfer a CRC (abbreviation for cyclic redundancy checking) as additional information into the DDP. For example, in the DDP bit region, an 8-bit fixed length code is used as a direct current (DC) value and a variable length code is used as an alternating current (AC) value. It is relatively difficult to detect an error from the 8-bit fixed length code. In order to help detect an error, the CRC is added to the 8-bit fixed length code, thereby improving recovery characteristics. Also, another fixed length code, e.g., a quantization part (QP) indicating a quantization value, as well as the 8-bit fixed length code may be used to obtain the CRC. That is, by adding the CRC to a fixed length code of the DDP, the error recovery characteristics during decoding can be improved. That is, the additional information of the above two cases is for assisting in the recovery of the erroneous region of the current packet, or detecting the region that is difficult to detect errors in. Also, in this embodiment of the video CODEC method in an error resilient mode, different RVLC tables are used according to the channel characteristics in the channel characteristic identifying step for the RVLC, such that the error detection can be more effective.

In the marker inserting step 26, a resync marker (RM) for identifying packets, and a header marker (HM) as an information bit for identifying an HDP and an MVDP are inserted. Also, a motion marker (MM) for identifying the MVDP and the DDP is inserted. Preferably, the HM is constituted by codewords which are not used for coding the HDP, to be distinguishable during decoding.

FIG. 3 shows a video CODEC apparatus in an error resilient mode according to a preferred embodiment of the present invention, for achieving the above video CODEC method. Referring to FIG. 3, the video CODEC apparatus includes a partitioning unit 30, a variable length coding unit 32, a reversible variable length coding unit 34 for reversible-variable-length-coding the variable-length-coded bit regions selected according to a predetermined priority for recovery, a channel identifying unit 36 for identifying the channel characteristics by receiving information about channel characteristics such as capacity, error status and degree of congestion, e.g., through a backward channel (not shown), and a marker inserting unit 38 for inserting a marker into the variable-length-coded or reversible-variable-length-coded bit region.

The partitioning unit 30 receives video data and partitions a HDP bit region, an MVDP bit region and a DDP bit region from each macro block of the video data in an error resilient mode as described with reference to FIG. 2. Also, preferably, the partitioning unit 30 constitutes the HDP bit region by combining a predetermined number of bit regions having a higher priority for recovery, e.g., a COD bit and MCBPC bit, into one new syntax (COD+MCBPC) during the partitioning.

The variable length coding unit 32 receives the partitioned bit regions and performs variable length coding, and the reversible variable length coding unit 34 performs reversible-variable-length-coding on the bit regions selected from the variable-length-coded bit regions according to a predetermined priority for recovery, e.g., according to possibility of loss of an entire packet or macro block during the decoding, which has good error recovery characteristics. However, the reversible-variable-length-coding increases the number of bits compared to the variable-length-coding, so that it is preferable to do the reversible-variable-length-coding on only the bit regions selected according to the priority for recovery, taking into consideration the limited channel capacity.

To this end, the channel characteristic identifying unit 36 controls the variable length coding unit 32 and the reversible variable length coding unit 34 such that if a suitable channel status exists, a bit region having a low priority, such as a DDP bit region, is reversible-variable-length-coded, and otherwise, the bit region is variable-length-coded. Alternatively, an additional information inserting unit (not shown) may be further included so as to insert an additional information into a bit region having a low priority, such as the DDP bit region, if the channel characteristic identifying unit 36 determines that a suitable channel status exists. Preferably, if the channel characteristic identifying unit 36 determines that the suitable channel status exists, the reversible variable length coding unit 34 performs the reversible-variable-length-coding using different coding tables to achieve the same effect as described with reference to FIG. 2.

Also, the video CODEC apparatus according to the present invention may further comprise an FMBI bit region inserting unit (not shown) for inserting an FMBI indicating a serial number of the first macro block of each packet so as to achieve the same effect as described with reference to FIG. 2, and the reversible variable length coding unit 34 may perform reversible-variable-length-coding on an LAMV bit region. Preferably, the video CODEC apparatus further comprises a unit (not shown) for inserting a PN bit region indicating a serial number of the packet following the RM bit region, as additional information, and a unit (not shown) for inserting the LAMV bit region including an absolute motion vector information after the MVDP bit region.

Also, the marker inserting unit 38 inserts a resync marker (RM) for separating into packets, a header marker (HM) consisting of codewords which are not used to code the HDP bit region, as an information bit for dividing the HDP and the MVDP, and a motion marker (MM) for dividing the MVDP and the DCT. Here, the HM consists of codewords which are not used to code the HDP to be distinguished during the decoding.

FIG. 4 shows an example of a video data packet obtained by the video CODEC method according to the present invention. Referring to FIG. 4, the video data packet generated by the video CODEC method includes an RM bit region, a PN bit region, an FMBI bit region, a HDP bit region, a HM bit region, a MVDP bit region, a LAMV bit region, an MM bit region and a DDP bit region. In the video data packet including such bit regions, the RM bit indicates the start of the video data packet, such that the starting point of a packet can be found for decoding as described in the prior art. Also, the PN indicates a serial number of each packet and may be used as additional information, and the FMBI bit indicates a serial number of the first macro block of each packet. In this embodiment, the HDP bit is obtained by combining a COD bit and an MCBPC bit defined in the MPEG-4 or the H.263 standard into one new syntax (COD+MCBPC) and then performing the reversible-variable-length-coding on the combined bit. Also, the HM bit as an information bit for dividing the HDP and the MVDP consists of codewords which are not used to code the HDP bit. The MVDP bit is obtained by performing the reversible-variable-length-coding on the information generated from the motion vector through prediction. In the DDP bit region including information about discrete cosine transform (DCT), a coded block pattern luminance (COBY) bit, a data quantization (DQUANT) bit and a DCT coefficient are coded. Also, it is preferable to insert the information required for error identification and restoration during the decoding, among the information used in the current packet, into the DDP bit. Such insertion of information may be selectively applied depending on the channel characteristics. The MM bit is for dividing the MVDP bit and the DDP bit.

The decoding process for the video data packet encoded as above will be described. First, when an RM is found in the received bit stream, the bit stream between the found RM and the next RM is regarded as one packet as described in the prior art. If an error occurs in the HDP bit, the HDP bit can be decoded backward as well as forward because the HDP has been reversible-variable-length-coded. For example, the HDP bit can be recovered by using the PN and the FMBI of the next packet. That is, because the macro block number of the current packet corresponds to the value obtained by subtracting the FMBI of the next packet by 1, the HDP bit can be recovered up to the previous region of erroneous macro block region through backward coding. Also, the MVDP bit is decoded until the MM is found, thereby decoding the motion vector through prediction. If an error occurs during such decoding process, decoding in backward direction is also possible because the MVDP bit has been reversible-variable-length-coded. Comparatively, in a decoding process for the video data packet encoded by the conventional CODEC method, only the predicted motion vector exists in the MVDP bit, so that it is possible to use an actual motion vector only when the previously decoded motion vector exists. However, in the video CODEC method according to the present invention, the last motion vector LAMV as an absolute motion vector, not a predicted motion vector, is reversible-variable-length-decoded to be transmitted. Thus, in the case of the reversible variable length decoding using the LAMV, it is independent from the previous motion vector. Also, in case that an error occurs in the DDP bit region, if the DDP bit region has been variable-length-coded, the packet must be discarded. However, if the DDP bit region has been reversible-variable-length-coded, decoding is possible in a backward direction, providing more resilience against channel error. Also, in case that additional information required for restoration is encoded in the DDP bit region, such additional information can be used for decoding.

FIG. 5 is a flowchart representing general decoding steps of the invention. Step 50 indicates that a coded signal is received, and step 60 indicates that decoding is performed. FIG. 6 shows that the decoding performed in step 60 of FIG. 5 is performed using reversible-variable-length decoding (step 61) and using variable-length decoding (step 62).

The invention may be embodied in a general purpose digital computer that is running a program from a computer usable medium, including but not limited to storage media such as magnetic storage media (e.g., ROM's, floppy disks, hard disks, etc.), optically readable media (e.g., CD-ROMs, DVDs, etc.) and carrier waves (e.g., transmissions over the Internet). Hence, the present invention may be embodied as a computer usable medium having a computer readable program code unit embodied therein for video CODEC, the computer readable program code means in the computer usable medium comprising: computer readable program code means for partitioning an HDP bit region, an MVDP bit region and a DDP bit region from each macro block of the video data in an error resilient mode; computer readable program code means for variable-length-coding the partitioned bit regions; computer readable program code means for reversible-variable-length-coding the bit regions selected from the variable-length coded bit regions according to a predetermined priority for recovery; and computer readable program code means for inserting makers into the variable-length coded or reversible-variable-length-coded bit regions. A functional program, code and code segments, used to implement the present invention can be derived by a skilled computer programmer from the description of the invention contained herein.

As described above, the video CODEC method according to the present invention can provide more resilience against channel error, so that communications is less affected by error under conditions in which errors are a serious problem such as in a wireless communications channel.

Although specific terms are employed in the above embodiment based on the MPEG-4 Visual and the H.263 standards, such as RM, PN, FMBI, HDP, HM, MVDP, MM and DDP, they are used in a generic and descriptive sense only, and not for purposes of limitation. Thus, the video CODEC method of the present invention can be applied to all video CODECs adopting different bit regions which are equivalent to the bit regions described by the above specific terms. 

1. Video coding method for coding video data to generate a video data packet, comprising the steps of: (a) data partitioning by re-arranging each of a plurality of macro block data constituting the video data; (b) variable-length coding or reversible-variable-length-coding the partitioned data of macro block data; (c) constituting a data part bit region of the video data packet with variable-length coded partitioned data of each macro block data or reversible-variable-length coded partitioned data of macro block data; (d) including several bit regions into the video data packet by adding additional information other than macro block data which are used to constitute each data part bit region, wherein the data partitioning comprises partitioning a same type of macro block data of the plurality of macro block data into a same region such that, the plurality of macro blocks comprises a first macro block and a second macro block, the first macro block comprises first macro block data of the first macro block and a second macro block data of the first macro block, the second macro block comprises a first macro block data of the second macro block and a second macro block data of the second macro block, the first macro block data of the first macro block and the first macro block data of the second macro block are partitioned into a first region, and the second macro block data of the first macro block and the second macro block data of the second macro block are partitioned into a second region.
 2. The method of claim 1, wherein (a) comprises: categorizing macro block data as one of at least two categories of macro block data type; and partitioning in accordance with the one of the at least one two categories of macro block data type.
 3. The method of claim 1, wherein (c) comprises: including information about coding status in each macro block data of corresponding video data packet into a header data part bit region.
 4. The method of claim 1, wherein (c) comprises: including information about transform data in each macro block data of corresponding video data packet into a transform data part bit region.
 5. The method of claim 1, wherein (c) comprises: including macro block identification and macro block coding type (MCBPC) including one of intra macro block type and inter macro block type, in each macro block data of corresponding video data packet into a header data part bit region; and including coded block pattern (CBPY), differential quantizer (DQUANT) and a transform coefficient in each macro block data of corresponding video data packet into a transform data part bit region.
 6. The method of claim 1 wherein (d) comprises: including information about a number of each macro block in the video data packet for obtaining macro block number in a decoding process of the video data packet; or including information about a number of the video data packet among a plurality of video data packets for obtaining macro block number in decoding process of the video data packet.
 7. The method of claim 1, wherein (d) comprises: including a first macro block index (FMBI) bit region which indicates a serial number of a first macro block among each macro block of the video data packet; or including a packet number (PN) bit region which indicates a serial number of the video data packet to distinguish the video data packet from a plurality of video packets.
 8. The method of claim 1, wherein (c) comprises: including a marker bit region which indicates a separation of each data part bit region in the video data packet.
 9. The method of claim 1, wherein (a) comprises: categorizing macro block data as header data part and transform data part, or motion vector data part if each macro block data is coded by inter coding mode.
 10. The method of claim 1, wherein the first macro block data of the first macro block and the second macro block are header type data and the second macro block data of the first macro block and the second macro block are motion vector type data.
 11. A video decoding method for a video data packet, comprising the steps of: (a) receiving the video data packet which is constituted with a coded data part bit region by data partitioning and a coding data part for a macro block belonging to the video data packet and several additional bit regions other than coded data part bit region; (b) decoding the coded data of each data part bit region by variable-length-decoding if the coded data of corresponding data part bit region is variable-length-coded; (c) decoding the coded data of each data part bit region by reversible-variable-length- decoding if the coded data of corresponding data part bit region is reversible-variable-length coded; (d) decoding coded data of each additional bit region; (e) providing each macro block data constituting video data from decoded data of each data part bit region; and (f) providing additional information other than macro block data from decoded data of each additional bit region, wherein the data partitioning comprises partitioning a same type of macroblock data of the plurality of macroblock data into a same region such that, the plurality of macro blocks comprises a first macro block and a second macro block, the first macro block comprises first macro block data of the first macro block and a second macro block data of the first macro block, the second macro block comprises a first macro block data of the second macro block and a second macro block data of the second macro block, the first macro block data of the first macro block and the first macro block data of the second macro block are partitioned into a first region, and the second macro block data of the first macro block and the second macro block data of the second macro block are partitioned into a second region.
 12. The method of claim 11, wherein (b) comprises: decoding coded data of each data part bit region after decoding RM marker bit region among several additional bit region.
 13. The method of claim 12, wherein (a) comprises: decoding coded data of transform data part bit region after decoding coded data of header data part bit region.
 14. The method of claim 13, wherein the video data packet is an MPEG-4 video packet.
 15. The method of claim 11, wherein (f) comprises: providing macro block number of each macro block belonging to the video data packet as the additional information.
 16. The method of claim 11, wherein (f) comprises: providing a serial number of first macro block of macro block belonging to the video data packet as the additional information from a first macro block index (FMBI) bit region.
 17. A video coding method for video data to generate a video data packet for providing more resilience against channel error, comprising: including coded macro block data constituting the video data to a predetermined bit region of the video data packet by a control unit of a channel characteristic identification unit, wherein the coded macro block data comprise a plurality of macro block data of a plurality of macro blocks, and the plurality of macro block data are all of the same type such that, the plurality of macro blocks comprises a first macro block and a second macro block, the first macro block comprises first macro block data of the first macro block and a second macro block data of the first macro block, the second macro block comprises a first macro block data of the second macro block and a second macro block data of the second macro block, the first macro block data of the first macro block and the first macro block data of the second macro block are partitioned into a first region, and the second macro block data of the first macro block and the second macro block data of the second macro block are partitioned into a second region.
 18. A video coding apparatus to generate a video data packet comprising: (a) a data part bit region including each partitioned data by two or more categories of macro block data type and coded data from each macro block data consisting the video data packet; and (b) bit regions including additional information other than the macro block data which are used to constitute each data part bit region, wherein the data partitioning comprises partitioning a same type of macroblock data of the plurality of macroblock data into a same region such that, the plurality of macro blocks comprises a first macro block and a second macro block, the first macro block comprises first macro block data of the first macro block and a second macro block data of the first macro block, the second macro block comprises a first macro block data of the second macro block and a second macro block data of the second macro block, the first macro block data of the first macro block and the first macro block data of the second macro block are partitioned into a first region, and the second macro block data of the first macro block and the second macro block data of the second macro block are partitioned into a second region.
 19. The video coding apparatus of claim 18, wherein the video data packet further comprises: two or more categories for data partitioning includes: a category of header data part and of transform data part, or a motion vector data part if each macro block data is coded by inter coding mode.
 20. The video coding apparatus of claim 19, wherein the video data packet further comprises: the category of header data part includes macro block identification and macro block coding type (MCBPC) including one of intra macro block type and inter macro block type; and the category of transform data part includes coded block pattern (CBPY), differential quantizer (DQUANT), transform coefficient among each macro block data. 